package com.hopu.blb_erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("supplier")
public class Supplier {
  @TableId(type = IdType.AUTO)
  private Integer id;
  private String name;
  private String address;
  private String telephone;
  private String email;
  private String business;


  @TableField(exist = false)
  private Company company;

}
